package com.helen.event;

/**
 * Created by yang on 2018/5/4.
 */

public class InfoEnent {
    public static final String ADD_CAR_SUCCESS = "加入购物车成功";
    private String mMsg;
    private int code;  //1 成功，2失败，3取消

    public InfoEnent(int code ,String msg) {
        this.code =code;
        this.mMsg = msg;

    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public InfoEnent(String msg) {
        mMsg = msg;

    }

    public String getmMsg() {
        return mMsg;
    }

    public void setmMsg(String mMsg) {
        this.mMsg = mMsg;
    }
}
